<script setup lang="ts">
  import { onLaunch } from '@dcloudio/uni-app'
  import { useI18n } from 'vue-i18n'

  const i18n = useI18n()
  onLaunch(() => {
    uni.setTabBarItem({
      index: 1,
      text: i18n.t('tabBar.aTitle')
    })
    uni.setTabBarItem({
      index: 1,
      text: i18n.t('tabBar.bTitle')
    })
  })
</script>
<style lang="scss">
  @import '@/static/fonts/iconfont.css';
</style>
